@include base(news) {
    $main-tabs-font-size: (
        default: 20px,
        md: 24px
    );
    $main-time-font-size: (
        default: 12px,
        md: 14px
    );
    $main-item-line-margin: (
        default: 10px,
        md: 30px
    );
    $main-more: (
        default: 16px,
        sm: 18px,
        md: 20px
    );
    
    &-main {
        padding-top: 50px;
        padding-bottom: 100px;
        
        &__tabs {
            font-size: 0;
            
            a {
                color: #999;
                text-decoration: none;
                display: inline-block;
                margin-right: 2em;
                font-weight: bold;
                @include responsive($main-tabs-font-size, font-size);
                
                &.active {
                    color: #3c91f8;
                    &::after {
                        content: '\20';
                        display: block;
                        width: 100%;
                        height: 3px;
                        margin-top: 5px;
                        background: url('~assets/images/line-small.png') no-repeat center;
                        background-size: cover;
                    }
                }
            }
        }
        
        &__sub-title {
            color: #222;
            font-weight: bold;
            @include responsive($main-tabs-font-size, font-size);
        }
        
        &__list {
            .item {
                margin-top: 50px;
                padding-bottom: 50px;
                border-bottom: 1px solid #e5e5e5;
                
                .header {
                    a {
                        color: #222;
                        text-decoration: none;
                        @include responsive($main-tabs-font-size, font-size);
                        
                        &:hover {
                            color: #3c91f8;
                        }
                    
                        &::after {
                            content: '\20';
                            width: 50px;
                            height: 2px;
                            background-color: #00a2ff;
                            display: block;
                            @include responsive($main-item-line-margin, margin-top);
                        }
                    }
                    
                    span {
                        color: #999;
                        @include responsive($main-time-font-size, font-size);
                    }
                }
                
                .intro {
                    font-size: 14px;
                    color: #222;
                    line-height: 1.4;
                    text-align: justify;
                    padding: 1.5em 0;
                }
                
                .more {
                    a {
                        line-height: 1;
                        color: #999;
                        text-decoration: none;
                        font-size: 14px;
                        background: url('~assets/images/arrow-more.png') no-repeat right 10px;
                        background-size: auto 5px;
                        padding-right: 22px;
                    }
                }
            }
        }
        
        &__more {
            a {
                text-align: center;
                color: #222;
                text-decoration: none;
                padding: 1em;
                background-color: #ededed;
                display: block;
                @include responsive($main-more, font-size);
            }
        }
        
        &__tags {
            background-color: #f5f5f5;
            margin-top: 50px;
            padding: 2.5em;
            
            h3 {
                color: #999;
                font-size: 20px;
            }
            
            .tags {
                line-height: 2.4;
                margin-top: 1em;
                
                a {
                    color: #999;
                    text-decoration: none;
                    font-size: 14px;
                    display: inline-block;
                    margin-right: 15px;
                    
                    &:hover {
                        color: #3a85fa;
                    }
                }
            }
        }
        
        &__content {
            .header {
                position: relative;
                
                h1 {
                    color: #222;
                    text-decoration: none;
                    display: inline-block;
                    position: relative;
                    z-index: 1;
                    @include responsive($main-tabs-font-size, font-size);
                    
                    &::after {
                        content: '\20';
                        width: 50px;
                        height: 2px;
                        background-color: #00a2ff;
                        display: block;
                        @include responsive($main-item-line-margin, margin-top);
                    }
                }

                span {
                    color: #999;
                    @include responsive($main-time-font-size, font-size);
                }
                
                &::after {
                    content: '\20';
                    display: block;
                    width: 100%;
                    position: absolute;
                    height: 2px;
                    background-color: #ececec;
                    bottom: 14px;
                    left: 0;
                }
            }
            
            .content {
                padding: 40px 0;
                
                p {
                    font-size: 14px;
                    color: #222;
                    padding-bottom: 1.5em;
                    line-height: 1.6;
                    text-align: justify;
                }
            }
        }
        
        &__page {
            background-color: #f5f5f5;
            margin-bottom: 50px;
            
            a {
                line-height: 2;
                font-size: 14px;
                padding: 1em;
                color: #222;
                text-decoration: none;
                display: block;
                
                &:hover {
                    color: #3c91f8;
                }
            }
        }
        
        &__share {
            text-align: center;
            margin-bottom: 50px;
            
            .icon {
                display: inline-block;
                width: 45px;
                height: 45px;
                border: 1px solid #e8e8e8;
                border-radius: 100%;
                background-repeat: no-repeat;
                background-position: center;
                background-size: contain;
                margin: 0 5px;
                
                &-qq {
                    background-image: url('~assets/images/icon-qq.png');
                }
                
                &-weixin {
                    background-image: url('~assets/images/icon-weixin.png');
                }
                
                &-weibo {
                    background-image: url('~assets/images/icon-weibo.png');
                }
            }
        }
    }
}

@include adaptive(sm) {
    @include base(news) {
        &-main {
            &__list {
                .item {
                    .header {
                        display: table;
                        width: 100%;
                        
                        a {
                            display: table-cell;
                            text-align: left;
                        }
                        span {
                            display: table-cell;
                            text-align: right;
                        }
                    }
                }
            }
            
            &__content {
                .header {
                    display: table;
                    width: 100%;

                    h1 {
                        display: table-cell;
                        text-align: left;
                    }
                    span {
                        display: table-cell;
                        text-align: right;
                    }
                    
                    &::after {
                        bottom: 0;
                    }
                }
            }
        }
    }
}

@include adaptive(md) {
    @include base(news) {
        &-main {
            &__wrap {
                padding-right: 80px;
            }
        }
    }
}